package com.neusoft.dibuy.lib;

public class Person {
    Math m;
    public  int age = 10;
    public static void main(String[] args)
    {
        Student p = new Student();
        Person p1 = p ;
        p1.study();
    }
    public  void study()
    {
        System.out.println("Person.study");
    }
}
class Student extends Person{
    public  int age = 20;
    public void study()
    {
        System.out.println("Student.study");
    }
}
